<div class="menu_bane">
<script type="text/javascript">
$(document).ready(function(){	
	var type = "<?php echo $this->arrParam['module']?>";
	$('#'+type).addClass('active');
})
</script>

<?php
	echo $this -> blkMenuLeft(); 
?>
<?php
	//Xuất file images của slide
	$tblImg = new Zendvn_Models_Slide();
	$img = $tblImg -> listItem($this->arrParam,array('task'=>'public'));
?>
<div id="slider" class="nivoSlider">
<?php 
	foreach ($img as $key => $val){
		$linkImg = FILES_URL . '/slide/images450x450/' . $val['picture'];
		$picture 	= '<img src="' . $linkImg . '" width="765" height="210"  alt="'. $val['name'].'" title="'. $val['name'].'" />';
		echo  $picture;
	}
?>
</div>
<script type="text/javascript">
        $(window).load(function() {
            $('#slider').nivoSlider({
                effect: 'random',
                slices:8,
                animSpeed:2200, //Slide transition speed
                pauseTime:6000,
                startSlide:0, //Set starting Slide (0 index)
                directionNav:true //Next & Prev
            });
        });
</script>